<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/xhtml;charset=utf-8" http-equiv="Content-Type"/>
<meta content="IE=9" http-equiv="X-UA-Compatible"/>
<meta content="Doxygen 1.8.13" name="generator"/>
<title>OpenCV: cv::FlannBasedMatcher Class Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script src="../../jquery.js" type="text/javascript"></script>
<script src="../../dynsections.js" type="text/javascript"></script>
<script src="../../tutorial-utils.js" type="text/javascript"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script src="../../search/searchdata.js" type="text/javascript"></script>
<script src="../../search/search.js" type="text/javascript"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js" type="text/javascript"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellpadding="0" cellspacing="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
    <span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script src="../../menudata.js" type="text/javascript"></script>
<script src="../../menu.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow" onkeydown="return searchBox.OnSearchSelectKey(event)" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe frameborder="0" id="MSearchResults" name="MSearchResults" src="javascript:void(0)">
</iframe>
</div>
<div class="navpath" id="nav-path">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html">FlannBasedMatcher</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="#pro-methods">Protected Member Functions</a> |
<a href="#pro-static-methods">Static Protected Member Functions</a> |
<a href="#pro-attribs">Protected Attributes</a> |
<a href="../../d7/d61/classcv_1_1FlannBasedMatcher-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cv::FlannBasedMatcher Class Reference<div class="ingroups"><a class="el" href="../../da/d9b/group__features2d.html">2D Features Framework</a> » <a class="el" href="../../d8/d9b/group__features2d__match.html">Descriptor Matchers</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<p>Flann-based descriptor matcher.  
 <a href="../../dc/de2/classcv_1_1FlannBasedMatcher.html#details">More...</a></p>
<p><code>#include &lt;opencv2/features2d.hpp&gt;</code></p>
<div class="dynheader">
Inheritance diagram for cv::FlannBasedMatcher:</div>
<div class="dyncontent">
 <div class="center">
  <img alt="" src="../../dc/de2/classcv_1_1FlannBasedMatcher.png" usemap="#cv::FlannBasedMatcher_map"/>
  <map id="cv::FlannBasedMatcher_map" name="cv::FlannBasedMatcher_map">
<area alt="cv::DescriptorMatcher" coords="0,56,146,80" href="../../db/d39/classcv_1_1DescriptorMatcher.html" shape="rect" title="Abstract base class for matching keypoint descriptors. "/>
<area alt="cv::Algorithm" coords="0,0,146,24" href="../../d3/d46/classcv_1_1Algorithm.html" shape="rect" title="This is a base class for all more or less complex algorithms in OpenCV. "/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab9114a6471e364ad221f89068ca21382"><td align="right" class="memItemLeft" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html#ab9114a6471e364ad221f89068ca21382">FlannBasedMatcher</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; flann::IndexParams &gt; &amp;<a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html#af2b50fb9c749ff4e14902192326247ad">indexParams</a>=<a class="el" href="../../dc/d84/group__core__basic.html#gaee940caae29d5569aa3aa9ba77fb887f">makePtr</a>&lt; flann::KDTreeIndexParams &gt;(), const <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; flann::SearchParams &gt; &amp;<a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html#af7f49c47216e18e7bdbefeb73884b891">searchParams</a>=<a class="el" href="../../dc/d84/group__core__basic.html#gaee940caae29d5569aa3aa9ba77fb887f">makePtr</a>&lt; flann::SearchParams &gt;())</td></tr>
<tr class="separator:ab9114a6471e364ad221f89068ca21382"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a94398a33b3c40989245f22f59ad78e7a"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html#a94398a33b3c40989245f22f59ad78e7a">add</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga606feabe3b50ab6838f1ba89727aa07a">InputArrayOfArrays</a> descriptors) <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a></td></tr>
<tr class="memdesc:a94398a33b3c40989245f22f59ad78e7a"><td class="mdescLeft"> </td><td class="mdescRight">Adds descriptors to train a CPU(trainDescCollectionis) or GPU(utrainDescCollectionis) descriptor collection.  <a href="#a94398a33b3c40989245f22f59ad78e7a">More...</a><br/></td></tr>
<tr class="separator:a94398a33b3c40989245f22f59ad78e7a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a321910c88a7d8a887843ce2173f58a6e"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html#a321910c88a7d8a887843ce2173f58a6e">clear</a> () <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a></td></tr>
<tr class="memdesc:a321910c88a7d8a887843ce2173f58a6e"><td class="mdescLeft"> </td><td class="mdescRight">Clears the train descriptor collections.  <a href="#a321910c88a7d8a887843ce2173f58a6e">More...</a><br/></td></tr>
<tr class="separator:a321910c88a7d8a887843ce2173f58a6e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa181710f75e8be9539939247b645557b"><td align="right" class="memItemLeft" valign="top">virtual <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html">DescriptorMatcher</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html#aa181710f75e8be9539939247b645557b">clone</a> (bool emptyTrainData=false) const <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a></td></tr>
<tr class="memdesc:aa181710f75e8be9539939247b645557b"><td class="mdescLeft"> </td><td class="mdescRight">Clones the matcher.  <a href="#aa181710f75e8be9539939247b645557b">More...</a><br/></td></tr>
<tr class="separator:aa181710f75e8be9539939247b645557b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a614976020b9ef7ecfc419b23e122206d"><td align="right" class="memItemLeft" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html#a614976020b9ef7ecfc419b23e122206d">isMaskSupported</a> () const <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a></td></tr>
<tr class="memdesc:a614976020b9ef7ecfc419b23e122206d"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the descriptor matcher supports masking permissible matches.  <a href="#a614976020b9ef7ecfc419b23e122206d">More...</a><br/></td></tr>
<tr class="separator:a614976020b9ef7ecfc419b23e122206d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a54caa24612b5b6840c2df65b924a557a"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html#a54caa24612b5b6840c2df65b924a557a">read</a> (const <a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> &amp;) <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a></td></tr>
<tr class="memdesc:a54caa24612b5b6840c2df65b924a557a"><td class="mdescLeft"> </td><td class="mdescRight">Reads algorithm parameters from a file storage.  <a href="#a54caa24612b5b6840c2df65b924a557a">More...</a><br/></td></tr>
<tr class="separator:a54caa24612b5b6840c2df65b924a557a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4fc9f506ff3185caa168b937c4e71080"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html#a4fc9f506ff3185caa168b937c4e71080">train</a> () <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a></td></tr>
<tr class="memdesc:a4fc9f506ff3185caa168b937c4e71080"><td class="mdescLeft"> </td><td class="mdescRight">Trains a descriptor matcher.  <a href="#a4fc9f506ff3185caa168b937c4e71080">More...</a><br/></td></tr>
<tr class="separator:a4fc9f506ff3185caa168b937c4e71080"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af612c5c0956c84b96886214850d3a0bc"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html#af612c5c0956c84b96886214850d3a0bc">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;) const <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a></td></tr>
<tr class="memdesc:af612c5c0956c84b96886214850d3a0bc"><td class="mdescLeft"> </td><td class="mdescRight">Stores algorithm parameters in a file storage.  <a href="#af612c5c0956c84b96886214850d3a0bc">More...</a><br/></td></tr>
<tr class="separator:af612c5c0956c84b96886214850d3a0bc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classcv_1_1DescriptorMatcher"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcv_1_1DescriptorMatcher')"><img alt="-" src="../../closed.png"/> Public Member Functions inherited from <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html">cv::DescriptorMatcher</a></td></tr>
<tr class="memitem:aa044fc71f0d8395ec29f936977e5c42f inherit pub_methods_classcv_1_1DescriptorMatcher"><td align="right" class="memItemLeft" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#aa044fc71f0d8395ec29f936977e5c42f">~DescriptorMatcher</a> ()</td></tr>
<tr class="separator:aa044fc71f0d8395ec29f936977e5c42f inherit pub_methods_classcv_1_1DescriptorMatcher"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac0951eebe04d00aa66117eab337909e4 inherit pub_methods_classcv_1_1DescriptorMatcher"><td align="right" class="memItemLeft" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#ac0951eebe04d00aa66117eab337909e4">empty</a> () const <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a></td></tr>
<tr class="memdesc:ac0951eebe04d00aa66117eab337909e4 inherit pub_methods_classcv_1_1DescriptorMatcher"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if there are no train descriptors in the both collections.  <a href="../../db/d39/classcv_1_1DescriptorMatcher.html#ac0951eebe04d00aa66117eab337909e4">More...</a><br/></td></tr>
<tr class="separator:ac0951eebe04d00aa66117eab337909e4 inherit pub_methods_classcv_1_1DescriptorMatcher"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa6950934cbf83d774152d426dd82261b inherit pub_methods_classcv_1_1DescriptorMatcher"><td align="right" class="memItemLeft" valign="top">const std::vector&lt; <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &gt; &amp; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#aa6950934cbf83d774152d426dd82261b">getTrainDescriptors</a> () const</td></tr>
<tr class="memdesc:aa6950934cbf83d774152d426dd82261b inherit pub_methods_classcv_1_1DescriptorMatcher"><td class="mdescLeft"> </td><td class="mdescRight">Returns a constant link to the train descriptor collection trainDescCollection .  <a href="../../db/d39/classcv_1_1DescriptorMatcher.html#aa6950934cbf83d774152d426dd82261b">More...</a><br/></td></tr>
<tr class="separator:aa6950934cbf83d774152d426dd82261b inherit pub_methods_classcv_1_1DescriptorMatcher"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a378f35c9b1a5dfa4022839a45cdf0e89 inherit pub_methods_classcv_1_1DescriptorMatcher"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#a378f35c9b1a5dfa4022839a45cdf0e89">knnMatch</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> queryDescriptors, <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> trainDescriptors, std::vector&lt; std::vector&lt; <a class="el" href="../../d4/de0/classcv_1_1DMatch.html">DMatch</a> &gt; &gt; &amp;matches, int k, <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> mask=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), bool compactResult=false) const</td></tr>
<tr class="memdesc:a378f35c9b1a5dfa4022839a45cdf0e89 inherit pub_methods_classcv_1_1DescriptorMatcher"><td class="mdescLeft"> </td><td class="mdescRight">Finds the k best matches for each descriptor from a query set.  <a href="../../db/d39/classcv_1_1DescriptorMatcher.html#a378f35c9b1a5dfa4022839a45cdf0e89">More...</a><br/></td></tr>
<tr class="separator:a378f35c9b1a5dfa4022839a45cdf0e89 inherit pub_methods_classcv_1_1DescriptorMatcher"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa880f9353cdf185ccf3013e08210483a inherit pub_methods_classcv_1_1DescriptorMatcher"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#aa880f9353cdf185ccf3013e08210483a">knnMatch</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> queryDescriptors, std::vector&lt; std::vector&lt; <a class="el" href="../../d4/de0/classcv_1_1DMatch.html">DMatch</a> &gt; &gt; &amp;matches, int k, <a class="el" href="../../dc/d84/group__core__basic.html#ga606feabe3b50ab6838f1ba89727aa07a">InputArrayOfArrays</a> masks=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), bool compactResult=false)</td></tr>
<tr class="separator:aa880f9353cdf185ccf3013e08210483a inherit pub_methods_classcv_1_1DescriptorMatcher"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0f046f47b68ec7074391e1e85c750cba inherit pub_methods_classcv_1_1DescriptorMatcher"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#a0f046f47b68ec7074391e1e85c750cba">match</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> queryDescriptors, <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> trainDescriptors, std::vector&lt; <a class="el" href="../../d4/de0/classcv_1_1DMatch.html">DMatch</a> &gt; &amp;matches, <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> mask=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()) const</td></tr>
<tr class="memdesc:a0f046f47b68ec7074391e1e85c750cba inherit pub_methods_classcv_1_1DescriptorMatcher"><td class="mdescLeft"> </td><td class="mdescRight">Finds the best match for each descriptor from a query set.  <a href="../../db/d39/classcv_1_1DescriptorMatcher.html#a0f046f47b68ec7074391e1e85c750cba">More...</a><br/></td></tr>
<tr class="separator:a0f046f47b68ec7074391e1e85c750cba inherit pub_methods_classcv_1_1DescriptorMatcher"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a695c0aceafc907c024c24a0b5cdff758 inherit pub_methods_classcv_1_1DescriptorMatcher"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#a695c0aceafc907c024c24a0b5cdff758">match</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> queryDescriptors, std::vector&lt; <a class="el" href="../../d4/de0/classcv_1_1DMatch.html">DMatch</a> &gt; &amp;matches, <a class="el" href="../../dc/d84/group__core__basic.html#ga606feabe3b50ab6838f1ba89727aa07a">InputArrayOfArrays</a> masks=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>())</td></tr>
<tr class="separator:a695c0aceafc907c024c24a0b5cdff758 inherit pub_methods_classcv_1_1DescriptorMatcher"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a56b8dcd6fc600f8f2a23212f6e4c5082 inherit pub_methods_classcv_1_1DescriptorMatcher"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#a56b8dcd6fc600f8f2a23212f6e4c5082">radiusMatch</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> queryDescriptors, <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> trainDescriptors, std::vector&lt; std::vector&lt; <a class="el" href="../../d4/de0/classcv_1_1DMatch.html">DMatch</a> &gt; &gt; &amp;matches, float maxDistance, <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> mask=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), bool compactResult=false) const</td></tr>
<tr class="memdesc:a56b8dcd6fc600f8f2a23212f6e4c5082 inherit pub_methods_classcv_1_1DescriptorMatcher"><td class="mdescLeft"> </td><td class="mdescRight">For each query descriptor, finds the training descriptors not farther than the specified distance.  <a href="../../db/d39/classcv_1_1DescriptorMatcher.html#a56b8dcd6fc600f8f2a23212f6e4c5082">More...</a><br/></td></tr>
<tr class="separator:a56b8dcd6fc600f8f2a23212f6e4c5082 inherit pub_methods_classcv_1_1DescriptorMatcher"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aec313028966f30f5b011a3e976f62c09 inherit pub_methods_classcv_1_1DescriptorMatcher"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#aec313028966f30f5b011a3e976f62c09">radiusMatch</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> queryDescriptors, std::vector&lt; std::vector&lt; <a class="el" href="../../d4/de0/classcv_1_1DMatch.html">DMatch</a> &gt; &gt; &amp;matches, float maxDistance, <a class="el" href="../../dc/d84/group__core__basic.html#ga606feabe3b50ab6838f1ba89727aa07a">InputArrayOfArrays</a> masks=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), bool compactResult=false)</td></tr>
<tr class="separator:aec313028966f30f5b011a3e976f62c09 inherit pub_methods_classcv_1_1DescriptorMatcher"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aba10146926505e6b90377f24489e336c inherit pub_methods_classcv_1_1DescriptorMatcher"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#aba10146926505e6b90377f24489e336c">read</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;fileName)</td></tr>
<tr class="separator:aba10146926505e6b90377f24489e336c inherit pub_methods_classcv_1_1DescriptorMatcher"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9e848d967aaed6930da407f338ca17ba inherit pub_methods_classcv_1_1DescriptorMatcher"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#a9e848d967aaed6930da407f338ca17ba">write</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;fileName) const</td></tr>
<tr class="separator:a9e848d967aaed6930da407f338ca17ba inherit pub_methods_classcv_1_1DescriptorMatcher"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad516a0d4afa280c256123e082a1e02c1 inherit pub_methods_classcv_1_1DescriptorMatcher"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#ad516a0d4afa280c256123e082a1e02c1">write</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &gt; &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>()) const</td></tr>
<tr class="separator:ad516a0d4afa280c256123e082a1e02c1 inherit pub_methods_classcv_1_1DescriptorMatcher"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classcv_1_1Algorithm"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcv_1_1Algorithm')"><img alt="-" src="../../closed.png"/> Public Member Functions inherited from <a class="el" href="../../d3/d46/classcv_1_1Algorithm.html">cv::Algorithm</a></td></tr>
<tr class="memitem:a827c8b2781ed17574805f373e6054ff1 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a827c8b2781ed17574805f373e6054ff1">Algorithm</a> ()</td></tr>
<tr class="separator:a827c8b2781ed17574805f373e6054ff1 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8ae826127fa0f1f8d10a24841bd376f8 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a8ae826127fa0f1f8d10a24841bd376f8">~Algorithm</a> ()</td></tr>
<tr class="separator:a8ae826127fa0f1f8d10a24841bd376f8 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a286fc82744ccab3d248aca44524266a9 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a286fc82744ccab3d248aca44524266a9">getDefaultName</a> () const</td></tr>
<tr class="separator:a286fc82744ccab3d248aca44524266a9 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0a880744bc4e3f45711444571df47d67 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a0a880744bc4e3f45711444571df47d67">save</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;filename) const</td></tr>
<tr class="separator:a0a880744bc4e3f45711444571df47d67 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a763a62d1b03042eef7d7fc3ac6c87c79 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a763a62d1b03042eef7d7fc3ac6c87c79">write</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &gt; &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>()) const</td></tr>
<tr class="memdesc:a763a62d1b03042eef7d7fc3ac6c87c79 inherit pub_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">simplified API for language bindings This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="../../d3/d46/classcv_1_1Algorithm.html#a763a62d1b03042eef7d7fc3ac6c87c79">More...</a><br/></td></tr>
<tr class="separator:a763a62d1b03042eef7d7fc3ac6c87c79 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a7b17083dda906384465a32952c1bbe3b"><td align="right" class="memItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html">FlannBasedMatcher</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html#a7b17083dda906384465a32952c1bbe3b">create</a> ()</td></tr>
<tr class="separator:a7b17083dda906384465a32952c1bbe3b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_static_methods_classcv_1_1DescriptorMatcher"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classcv_1_1DescriptorMatcher')"><img alt="-" src="../../closed.png"/> Static Public Member Functions inherited from <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html">cv::DescriptorMatcher</a></td></tr>
<tr class="memitem:ab5dc5036569ecc8d47565007fa518257 inherit pub_static_methods_classcv_1_1DescriptorMatcher"><td align="right" class="memItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html">DescriptorMatcher</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#ab5dc5036569ecc8d47565007fa518257">create</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;descriptorMatcherType)</td></tr>
<tr class="memdesc:ab5dc5036569ecc8d47565007fa518257 inherit pub_static_methods_classcv_1_1DescriptorMatcher"><td class="mdescLeft"> </td><td class="mdescRight">Creates a descriptor matcher of a given type with the default parameters (using default constructor).  <a href="../../db/d39/classcv_1_1DescriptorMatcher.html#ab5dc5036569ecc8d47565007fa518257">More...</a><br/></td></tr>
<tr class="separator:ab5dc5036569ecc8d47565007fa518257 inherit pub_static_methods_classcv_1_1DescriptorMatcher"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a13441ee7098af71be2a55453288360f7 inherit pub_static_methods_classcv_1_1DescriptorMatcher"><td align="right" class="memItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html">DescriptorMatcher</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#a13441ee7098af71be2a55453288360f7">create</a> (const <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#af8b6f4acb8f1a9ea6b73bfcb86b80c3b">DescriptorMatcher::MatcherType</a> &amp;matcherType)</td></tr>
<tr class="separator:a13441ee7098af71be2a55453288360f7 inherit pub_static_methods_classcv_1_1DescriptorMatcher"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_static_methods_classcv_1_1Algorithm"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classcv_1_1Algorithm')"><img alt="-" src="../../closed.png"/> Static Public Member Functions inherited from <a class="el" href="../../d3/d46/classcv_1_1Algorithm.html">cv::Algorithm</a></td></tr>
<tr class="memitem:a623841c33b58ea9c4847da04607e067b inherit pub_static_methods_classcv_1_1Algorithm"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:a623841c33b58ea9c4847da04607e067b inherit pub_static_methods_classcv_1_1Algorithm"><td align="right" class="memTemplItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; _Tp &gt; </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a623841c33b58ea9c4847da04607e067b">load</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;filename, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;objname=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>())</td></tr>
<tr class="memdesc:a623841c33b58ea9c4847da04607e067b inherit pub_static_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Loads algorithm from the file.  <a href="../../d3/d46/classcv_1_1Algorithm.html#a623841c33b58ea9c4847da04607e067b">More...</a><br/></td></tr>
<tr class="separator:a623841c33b58ea9c4847da04607e067b inherit pub_static_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3ba305a10d02479c13cf7d169c321547 inherit pub_static_methods_classcv_1_1Algorithm"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:a3ba305a10d02479c13cf7d169c321547 inherit pub_static_methods_classcv_1_1Algorithm"><td align="right" class="memTemplItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; _Tp &gt; </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a3ba305a10d02479c13cf7d169c321547">loadFromString</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;strModel, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;objname=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>())</td></tr>
<tr class="memdesc:a3ba305a10d02479c13cf7d169c321547 inherit pub_static_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Loads algorithm from a String.  <a href="../../d3/d46/classcv_1_1Algorithm.html#a3ba305a10d02479c13cf7d169c321547">More...</a><br/></td></tr>
<tr class="separator:a3ba305a10d02479c13cf7d169c321547 inherit pub_static_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad8c591bacb34c485f5b7a250c314fc53 inherit pub_static_methods_classcv_1_1Algorithm"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:ad8c591bacb34c485f5b7a250c314fc53 inherit pub_static_methods_classcv_1_1Algorithm"><td align="right" class="memTemplItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; _Tp &gt; </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#ad8c591bacb34c485f5b7a250c314fc53">read</a> (const <a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> &amp;fn)</td></tr>
<tr class="memdesc:ad8c591bacb34c485f5b7a250c314fc53 inherit pub_static_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Reads algorithm from the file node.  <a href="../../d3/d46/classcv_1_1Algorithm.html#ad8c591bacb34c485f5b7a250c314fc53">More...</a><br/></td></tr>
<tr class="separator:ad8c591bacb34c485f5b7a250c314fc53 inherit pub_static_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a2b9db8bec920f8f48ae5386f5e274624"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html#a2b9db8bec920f8f48ae5386f5e274624">knnMatchImpl</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> queryDescriptors, std::vector&lt; std::vector&lt; <a class="el" href="../../d4/de0/classcv_1_1DMatch.html">DMatch</a> &gt; &gt; &amp;matches, int k, <a class="el" href="../../dc/d84/group__core__basic.html#ga606feabe3b50ab6838f1ba89727aa07a">InputArrayOfArrays</a> masks=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), bool compactResult=false) <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a></td></tr>
<tr class="separator:a2b9db8bec920f8f48ae5386f5e274624"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3b97dd6b601234f4771b6befd57c2b75"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html#a3b97dd6b601234f4771b6befd57c2b75">radiusMatchImpl</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> queryDescriptors, std::vector&lt; std::vector&lt; <a class="el" href="../../d4/de0/classcv_1_1DMatch.html">DMatch</a> &gt; &gt; &amp;matches, float maxDistance, <a class="el" href="../../dc/d84/group__core__basic.html#ga606feabe3b50ab6838f1ba89727aa07a">InputArrayOfArrays</a> masks=<a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>(), bool compactResult=false) <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a></td></tr>
<tr class="separator:a3b97dd6b601234f4771b6befd57c2b75"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classcv_1_1DescriptorMatcher"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classcv_1_1DescriptorMatcher')"><img alt="-" src="../../closed.png"/> Protected Member Functions inherited from <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html">cv::DescriptorMatcher</a></td></tr>
<tr class="memitem:acbcaa368465fd3924c8bb70851a98944 inherit pro_methods_classcv_1_1DescriptorMatcher"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#acbcaa368465fd3924c8bb70851a98944">checkMasks</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga606feabe3b50ab6838f1ba89727aa07a">InputArrayOfArrays</a> masks, int queryDescriptorsCount) const</td></tr>
<tr class="separator:acbcaa368465fd3924c8bb70851a98944 inherit pro_methods_classcv_1_1DescriptorMatcher"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classcv_1_1Algorithm"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classcv_1_1Algorithm')"><img alt="-" src="../../closed.png"/> Protected Member Functions inherited from <a class="el" href="../../d3/d46/classcv_1_1Algorithm.html">cv::Algorithm</a></td></tr>
<tr class="memitem:a68eeca71617474ad3d4561786f0289d2 inherit pro_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a68eeca71617474ad3d4561786f0289d2">writeFormat</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs) const</td></tr>
<tr class="separator:a68eeca71617474ad3d4561786f0289d2 inherit pro_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-methods"></a>
Static Protected Member Functions</h2></td></tr>
<tr class="memitem:a0752ace1e8e0c46af9531ffdda0b37ee"><td align="right" class="memItemLeft" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html#a0752ace1e8e0c46af9531ffdda0b37ee">convertToDMatches</a> (const DescriptorCollection &amp;descriptors, const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp;indices, const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp;distances, std::vector&lt; std::vector&lt; <a class="el" href="../../d4/de0/classcv_1_1DMatch.html">DMatch</a> &gt; &gt; &amp;matches)</td></tr>
<tr class="separator:a0752ace1e8e0c46af9531ffdda0b37ee"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_static_methods_classcv_1_1DescriptorMatcher"><td colspan="2" onclick="javascript:toggleInherit('pro_static_methods_classcv_1_1DescriptorMatcher')"><img alt="-" src="../../closed.png"/> Static Protected Member Functions inherited from <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html">cv::DescriptorMatcher</a></td></tr>
<tr class="memitem:a7aa961c11ccdc6a9b1495f5aaf83d251 inherit pro_static_methods_classcv_1_1DescriptorMatcher"><td align="right" class="memItemLeft" valign="top">static <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#a7aa961c11ccdc6a9b1495f5aaf83d251">clone_op</a> (<a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> m)</td></tr>
<tr class="separator:a7aa961c11ccdc6a9b1495f5aaf83d251 inherit pro_static_methods_classcv_1_1DescriptorMatcher"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acf9d628dd4c52e6ff00eb92801fd0921 inherit pro_static_methods_classcv_1_1DescriptorMatcher"><td align="right" class="memItemLeft" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#acf9d628dd4c52e6ff00eb92801fd0921">isMaskedOut</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga606feabe3b50ab6838f1ba89727aa07a">InputArrayOfArrays</a> masks, int queryIdx)</td></tr>
<tr class="separator:acf9d628dd4c52e6ff00eb92801fd0921 inherit pro_static_methods_classcv_1_1DescriptorMatcher"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaeca71427249a189e35e77066f25fc8b inherit pro_static_methods_classcv_1_1DescriptorMatcher"><td align="right" class="memItemLeft" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#aaeca71427249a189e35e77066f25fc8b">isPossibleMatch</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> mask, int queryIdx, int trainIdx)</td></tr>
<tr class="separator:aaeca71427249a189e35e77066f25fc8b inherit pro_static_methods_classcv_1_1DescriptorMatcher"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a8854dcad3e17bab50c39f60ddff76d21"><td align="right" class="memItemLeft" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html#a8854dcad3e17bab50c39f60ddff76d21">addedDescCount</a></td></tr>
<tr class="separator:a8854dcad3e17bab50c39f60ddff76d21"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a293108def96df8a5f19ea0897e548ff2"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; flann::Index &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html#a293108def96df8a5f19ea0897e548ff2">flannIndex</a></td></tr>
<tr class="separator:a293108def96df8a5f19ea0897e548ff2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af2b50fb9c749ff4e14902192326247ad"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; flann::IndexParams &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html#af2b50fb9c749ff4e14902192326247ad">indexParams</a></td></tr>
<tr class="separator:af2b50fb9c749ff4e14902192326247ad"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a990859c4f84b04b3ced4411b3a62e7cc"><td align="right" class="memItemLeft" valign="top">DescriptorCollection </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html#a990859c4f84b04b3ced4411b3a62e7cc">mergedDescriptors</a></td></tr>
<tr class="separator:a990859c4f84b04b3ced4411b3a62e7cc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af7f49c47216e18e7bdbefeb73884b891"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; flann::SearchParams &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html#af7f49c47216e18e7bdbefeb73884b891">searchParams</a></td></tr>
<tr class="separator:af7f49c47216e18e7bdbefeb73884b891"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_attribs_classcv_1_1DescriptorMatcher"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classcv_1_1DescriptorMatcher')"><img alt="-" src="../../closed.png"/> Protected Attributes inherited from <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html">cv::DescriptorMatcher</a></td></tr>
<tr class="memitem:a6c1d27bb1cea2a46e0a5c7d297368edd inherit pro_attribs_classcv_1_1DescriptorMatcher"><td align="right" class="memItemLeft" valign="top">std::vector&lt; <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#a6c1d27bb1cea2a46e0a5c7d297368edd">trainDescCollection</a></td></tr>
<tr class="memdesc:a6c1d27bb1cea2a46e0a5c7d297368edd inherit pro_attribs_classcv_1_1DescriptorMatcher"><td class="mdescLeft"> </td><td class="mdescRight">Collection of descriptors from train images.  <a href="../../db/d39/classcv_1_1DescriptorMatcher.html#a6c1d27bb1cea2a46e0a5c7d297368edd">More...</a><br/></td></tr>
<tr class="separator:a6c1d27bb1cea2a46e0a5c7d297368edd inherit pro_attribs_classcv_1_1DescriptorMatcher"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a66bd1ba0753ab3ebb792e7b4bf5af2ab inherit pro_attribs_classcv_1_1DescriptorMatcher"><td align="right" class="memItemLeft" valign="top">std::vector&lt; <a class="el" href="../../d7/d45/classcv_1_1UMat.html">UMat</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#a66bd1ba0753ab3ebb792e7b4bf5af2ab">utrainDescCollection</a></td></tr>
<tr class="separator:a66bd1ba0753ab3ebb792e7b4bf5af2ab inherit pro_attribs_classcv_1_1DescriptorMatcher"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_classcv_1_1DescriptorMatcher"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classcv_1_1DescriptorMatcher')"><img alt="-" src="../../closed.png"/> Public Types inherited from <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html">cv::DescriptorMatcher</a></td></tr>
<tr class="memitem:af8b6f4acb8f1a9ea6b73bfcb86b80c3b inherit pub_types_classcv_1_1DescriptorMatcher"><td align="right" class="memItemLeft" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#af8b6f4acb8f1a9ea6b73bfcb86b80c3b">MatcherType</a> { <br/>
  <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#af8b6f4acb8f1a9ea6b73bfcb86b80c3baf73d671c6860c24f44b2880a77fadcdc">FLANNBASED</a> = 1, 
<br/>
  <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#af8b6f4acb8f1a9ea6b73bfcb86b80c3baddf99aae344c73b63d77764440711b76">BRUTEFORCE</a> = 2, 
<br/>
  <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#af8b6f4acb8f1a9ea6b73bfcb86b80c3bac4f170ff27df2f2cadabd75c129ec468">BRUTEFORCE_L1</a> = 3, 
<br/>
  <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#af8b6f4acb8f1a9ea6b73bfcb86b80c3ba7362dae849e477ed4b1bc862c8ebb5c4">BRUTEFORCE_HAMMING</a> = 4, 
<br/>
  <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#af8b6f4acb8f1a9ea6b73bfcb86b80c3bae93477eddb9309e995b78a4eb677b9fe">BRUTEFORCE_HAMMINGLUT</a> = 5, 
<br/>
  <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#af8b6f4acb8f1a9ea6b73bfcb86b80c3baf88193b09daf077fec5015a9906a67e8">BRUTEFORCE_SL2</a> = 6
<br/>
 }</td></tr>
<tr class="separator:af8b6f4acb8f1a9ea6b73bfcb86b80c3b inherit pub_types_classcv_1_1DescriptorMatcher"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a id="details" name="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Flann-based descriptor matcher. </p>
<p>This matcher trains cv::flann::Index on a train descriptor collection and calls its nearest search methods to find the best matches. So, this matcher may be faster when matching a large train collection than the brute force matcher. <a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html" title="Flann-based descriptor matcher. ">FlannBasedMatcher</a> does not support masking permissible matches of descriptor sets because flann::Index does not support this. : </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ab9114a6471e364ad221f89068ca21382"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9114a6471e364ad221f89068ca21382">◆ </a></span>FlannBasedMatcher()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cv::FlannBasedMatcher::FlannBasedMatcher </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; flann::IndexParams &gt; &amp; </td>
          <td class="paramname"><em>indexParams</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gaee940caae29d5569aa3aa9ba77fb887f">makePtr</a>&lt; flann::KDTreeIndexParams &gt;()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; flann::SearchParams &gt; &amp; </td>
          <td class="paramname"><em>searchParams</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gaee940caae29d5569aa3aa9ba77fb887f">makePtr</a>&lt; flann::SearchParams &gt;()</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>&lt;FlannBasedMatcher object&gt;</td><td>=</td><td>cv.FlannBasedMatcher(</td><td class="paramname">[, indexParams[, searchParams]]</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a94398a33b3c40989245f22f59ad78e7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94398a33b3c40989245f22f59ad78e7a">◆ </a></span>add()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::FlannBasedMatcher::add </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga606feabe3b50ab6838f1ba89727aa07a">InputArrayOfArrays</a> </td>
          <td class="paramname"><em>descriptors</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Adds descriptors to train a CPU(trainDescCollectionis) or GPU(utrainDescCollectionis) descriptor collection. </p>
<p>If the collection is not empty, the new descriptors are added to existing train descriptors.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptors</td><td>Descriptors to add. Each descriptors[i] is a set of descriptors from the same train image. </td></tr>
  </table>
  </dd>
</dl>
<p>Reimplemented from <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#a623a2b07755cf7fb1c79554af73cdbb0">cv::DescriptorMatcher</a>.</p>
</div>
</div>
<a id="a321910c88a7d8a887843ce2173f58a6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a321910c88a7d8a887843ce2173f58a6e">◆ </a></span>clear()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::FlannBasedMatcher::clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Clears the train descriptor collections. </p>
<p>Reimplemented from <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#a01f97324f1393aae68d9c84874060454">cv::DescriptorMatcher</a>.</p>
</div>
</div>
<a id="aa181710f75e8be9539939247b645557b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa181710f75e8be9539939247b645557b">◆ </a></span>clone()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;<a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html">DescriptorMatcher</a>&gt; cv::FlannBasedMatcher::clone </td>
          <td>(</td>
          <td class="paramtype">bool </td>
          <td class="paramname"><em>emptyTrainData</em> = <code>false</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Clones the matcher. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">emptyTrainData</td><td>If emptyTrainData is false, the method creates a deep copy of the object, that is, copies both parameters and train data. If emptyTrainData is true, the method creates an object copy with the current parameters but with empty train data. </td></tr>
  </table>
  </dd>
</dl>
<p>Implements <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#a8d0dfab3c560c3edada03155c97ed8a9">cv::DescriptorMatcher</a>.</p>
</div>
</div>
<a id="a0752ace1e8e0c46af9531ffdda0b37ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0752ace1e8e0c46af9531ffdda0b37ee">◆ </a></span>convertToDMatches()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void cv::FlannBasedMatcher::convertToDMatches </td>
          <td>(</td>
          <td class="paramtype">const DescriptorCollection &amp; </td>
          <td class="paramname"><em>descriptors</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp; </td>
          <td class="paramname"><em>indices</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp; </td>
          <td class="paramname"><em>distances</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; std::vector&lt; <a class="el" href="../../d4/de0/classcv_1_1DMatch.html">DMatch</a> &gt; &gt; &amp; </td>
          <td class="paramname"><em>matches</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a7b17083dda906384465a32952c1bbe3b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b17083dda906384465a32952c1bbe3b">◆ </a></span>create()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;<a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html">FlannBasedMatcher</a>&gt; cv::FlannBasedMatcher::create </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.FlannBasedMatcher_create(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a614976020b9ef7ecfc419b23e122206d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a614976020b9ef7ecfc419b23e122206d">◆ </a></span>isMaskSupported()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool cv::FlannBasedMatcher::isMaskSupported </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns true if the descriptor matcher supports masking permissible matches. </p>
<p>Implements <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#a3cc074710ccb466a662815969e14cf5e">cv::DescriptorMatcher</a>.</p>
</div>
</div>
<a id="a2b9db8bec920f8f48ae5386f5e274624"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b9db8bec920f8f48ae5386f5e274624">◆ </a></span>knnMatchImpl()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::FlannBasedMatcher::knnMatchImpl </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>queryDescriptors</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; std::vector&lt; <a class="el" href="../../d4/de0/classcv_1_1DMatch.html">DMatch</a> &gt; &gt; &amp; </td>
          <td class="paramname"><em>matches</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>k</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga606feabe3b50ab6838f1ba89727aa07a">InputArrayOfArrays</a> </td>
          <td class="paramname"><em>masks</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool </td>
          <td class="paramname"><em>compactResult</em> = <code>false</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>In fact the matching is implemented only by the following two methods. These methods suppose that the class object has been trained already. Public match methods call these methods after calling <a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html#a4fc9f506ff3185caa168b937c4e71080" title="Trains a descriptor matcher. ">train()</a>. </p>
<p>Implements <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#a38f18a66b3498fa5c960e29ed0056d44">cv::DescriptorMatcher</a>.</p>
</div>
</div>
<a id="a3b97dd6b601234f4771b6befd57c2b75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b97dd6b601234f4771b6befd57c2b75">◆ </a></span>radiusMatchImpl()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::FlannBasedMatcher::radiusMatchImpl </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>queryDescriptors</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; std::vector&lt; <a class="el" href="../../d4/de0/classcv_1_1DMatch.html">DMatch</a> &gt; &gt; &amp; </td>
          <td class="paramname"><em>matches</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float </td>
          <td class="paramname"><em>maxDistance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga606feabe3b50ab6838f1ba89727aa07a">InputArrayOfArrays</a> </td>
          <td class="paramname"><em>masks</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#gad9287b23bba2fed753b36ef561ae7346">noArray</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool </td>
          <td class="paramname"><em>compactResult</em> = <code>false</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#afc03bcd8e385f4b3684b7a7d42810ff6">cv::DescriptorMatcher</a>.</p>
</div>
</div>
<a id="a54caa24612b5b6840c2df65b924a557a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54caa24612b5b6840c2df65b924a557a">◆ </a></span>read()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::FlannBasedMatcher::read </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> &amp; </td>
          <td class="paramname"><em>fn</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Reads algorithm parameters from a file storage. </p>
<p>Reimplemented from <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#abb46ea487ffa0c0f9dd72d3de9fd42ab">cv::DescriptorMatcher</a>.</p>
</div>
</div>
<a id="a4fc9f506ff3185caa168b937c4e71080"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4fc9f506ff3185caa168b937c4e71080">◆ </a></span>train()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::FlannBasedMatcher::train </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Trains a descriptor matcher. </p>
<p>Trains a descriptor matcher (for example, the flann index). In all methods to match, the method <a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html#a4fc9f506ff3185caa168b937c4e71080" title="Trains a descriptor matcher. ">train()</a> is run every time before matching. Some descriptor matchers (for example, BruteForceMatcher) have an empty implementation of this method. Other matchers really train their inner structures (for example, <a class="el" href="../../dc/de2/classcv_1_1FlannBasedMatcher.html" title="Flann-based descriptor matcher. ">FlannBasedMatcher</a> trains flann::Index ). </p>
<p>Reimplemented from <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#a80e9fd98de5908f5348c17696eeb1a32">cv::DescriptorMatcher</a>.</p>
</div>
</div>
<a id="af612c5c0956c84b96886214850d3a0bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af612c5c0956c84b96886214850d3a0bc">◆ </a></span>write()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::FlannBasedMatcher::write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp; </td>
          <td class="paramname"><em>fs</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Stores algorithm parameters in a file storage. </p>
<p>Reimplemented from <a class="el" href="../../db/d39/classcv_1_1DescriptorMatcher.html#abcba89024601e88afe6e4cc2349798c3">cv::DescriptorMatcher</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a8854dcad3e17bab50c39f60ddff76d21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8854dcad3e17bab50c39f60ddff76d21">◆ </a></span>addedDescCount</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int cv::FlannBasedMatcher::addedDescCount</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a293108def96df8a5f19ea0897e548ff2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a293108def96df8a5f19ea0897e548ff2">◆ </a></span>flannIndex</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;flann::Index&gt; cv::FlannBasedMatcher::flannIndex</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="af2b50fb9c749ff4e14902192326247ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2b50fb9c749ff4e14902192326247ad">◆ </a></span>indexParams</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;flann::IndexParams&gt; cv::FlannBasedMatcher::indexParams</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a990859c4f84b04b3ced4411b3a62e7cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a990859c4f84b04b3ced4411b3a62e7cc">◆ </a></span>mergedDescriptors</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">DescriptorCollection cv::FlannBasedMatcher::mergedDescriptors</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="af7f49c47216e18e7bdbefeb73884b891"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af7f49c47216e18e7bdbefeb73884b891">◆ </a></span>searchParams</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;flann::SearchParams&gt; cv::FlannBasedMatcher::searchParams</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>opencv2/<a class="el" href="../../d5/d0d/features2d_8hpp.html">features2d.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:42 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img alt="doxygen" class="footer" src="../../doxygen.png"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
